Skip to content

Change Nitro preset from cloudflare_pages to cloudflare_module#125

Merged
TheMeinerLP merged 1 commit into
mainfrom
claude/launchpad-worker-pages-kUJRS
May 15, 2026
Merged

Change Nitro preset from cloudflare_pages to cloudflare_module#125
TheMeinerLP merged 1 commit into
mainfrom
claude/launchpad-worker-pages-kUJRS

Conversation

@TheMeinerLP
Copy link
Copy Markdown
Collaborator

Summary

Updated the Nitro preset configuration to use cloudflare_module instead of cloudflare_pages for improved compatibility with Cloudflare's module-based deployment approach.

Key Changes

  • Changed nitro.preset from "cloudflare_pages" to "cloudflare_module" in nuxt.config.ts

Details

This change updates the deployment target for the Nitro server, switching from Cloudflare Pages preset to the Cloudflare Module preset. This allows the application to leverage Cloudflare's module-based runtime environment, which may provide better performance, compatibility, or feature support compared to the Pages preset.

https://claude.ai/code/session_012YWscdohmouZHhZ7otKnqh

Use the cloudflare_module preset instead of cloudflare_pages to deploy
as a Cloudflare Worker with static assets, the now-recommended Nitro
preset. D1 binding, nodeCompat and deployConfig remain unchanged.

https://claude.ai/code/session_012YWscdohmouZHhZ7otKnqh
@TheMeinerLP TheMeinerLP merged commit 6991770 into main May 15, 2026
3 of 4 checks passed
@TheMeinerLP TheMeinerLP deleted the claude/launchpad-worker-pages-kUJRS branch May 15, 2026 20:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants